package com.nai365.nart.blockchain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("DDC回收请求参数")
public class BurnOutDto {
	@ApiModelProperty(value = "拥有者地址")
	@NotBlank(message = "拥有者地址不能为空")
	private String ownerAddress;

	@ApiModelProperty(value = "DDC ID")
	@NotBlank(message = "DDC ID不能为空")
	private String token;

	@ApiModelProperty(value = "售卖份数")
	@NotBlank(message = "售卖份数不能为空")
	private Integer copies;

	@ApiModelProperty(value = "交易Hash")
	private String txHash;

	@ApiModelProperty(value = "交易Id")
	private Long txId;

}
